package com.xianzhiOA.dao;/**
 * Created by Administrator on 2017/5/6.
 */

import com.xianzhiOA.bean.XzApprovalProcess;
import com.xianzhiOA.bean.XzTempletExtend;

import java.util.List;
import java.util.Map;

/**
 * 审批流程表
 *
 * @author 王诗博
 * @create 2017-05-06 16:04
 **/
public interface XzApprovalProcessMapper {
    //根据模板编号查询该模板的节点
     List<XzApprovalProcess> selByTempletBaseId(Long templetBaseId);
    //添加模板的审批节点
    int addApprovalProcess(XzApprovalProcess xzApprovalProcess);
    //删除节点表
    int deleteNodeByKey(XzApprovalProcess xzApprovalProcess);
    //修改节点表
    int updateNodeByKey(XzApprovalProcess xzApprovalProcess);
    //删除一条节点模板表中的数据（按id删除）
    int deleteByKey(XzApprovalProcess xzApprovalProcess);
}
